<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="perm" uri="/WEB-INF/tld/perm.tld"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<script>var ctx="${ctx}";</script>
<div class="form-horizontal" role="form" >
    <input id="id" value="${announceType.id}"  type="hidden"/>
	<div class="form-group">
 	    <label class="col-md-3 col-sm-3 control-label">名称:</label>
        <div class="col-md-9">
        	 <input id="name" value="${announceType.name}" data-check="require:true;code:^[a-zA-Z0-9\u4e00-\u9fa5]{1,30};message:不能为空" type="text" placeholder="分类名称" class="form-control" name="name"/>
        </div>
    </div>
	<div class="form-group">
 	    <label class="col-md-3 col-sm-3 control-label">顺序:</label>
        <div class="col-md-9">
        	 <input id="sort" value="${announceType.sort}"  type="text" placeholder="顺序" class="form-control" name="sort"/>
        </div>
    </div>
</div>

<script>

$(function(){
	jQuery.checkall(false);
})
	 
</script>